<ui:composition 
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:composite="http://java.sun.com/jsf/composite">
    <composite:interface
        name="uploadComponent"
        componentType="compositeFileUpload">
        <composite:attribute name="value"/>
    </composite:interface>

    <composite:implementation>
        <input type="file" name="#{cc.clientId}" id="#{cc.clientId}"/>
    </composite:implementation>    
</ui:composition>